﻿using UnityEngine;
using System.Collections;

public class UpgradeTowerDamage : Upgrade {

	// Use this for initialization
	void Start () {
        UpgradeType = TargetofUpgrade.EntityStatManager;
	}
	
	// Update is called once per frame
	void Update () {
	
	}

    protected override void applyEffect(GameObject target)
    {
        target.GetComponent<StatManager>().DamageModifier += CurrentLevel * Modifier;
    }
}
